import 'dart:async';

import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:sainbainu/common/repositories/account_repository.dart';
import 'package:sainbainu/common/repositories/common_repository.dart';
import 'package:sainbainu/common/values/constant.dart';

class BindMobileState {
  // title
  final _title = "".obs;
  set title(value) => _title.value = value;
  get title => _title.value;

  final isUpdate = false.obs;

  late TextEditingController mobileController;
  late TextEditingController codeController;

  late AccountRepository accountRepository;
  late CommonRepository commonRepository;

  Timer? smsTimer;
  final smsSeconds = AppConstant.smsSeconds.obs;
  final isSending = false.obs;
}
